﻿@model Mod.NextPreviousItem.Settings.NextPreviousTypePartSettings

<fieldset>
    <label>@T("Select a taxonomy")</label>  
    <select id="@Html.FieldIdFor(m => m.Taxonomy)" name="@Html.FieldNameFor(m => m.Taxonomy)">
        @Html.SelectOption(null, true, T("Choose a taxonomy ...").ToString())
        @foreach ( var taxonomy in Model.Taxonomies.OrderBy(t => t.Name) ) {
            @Html.SelectOption(taxonomy.Name, Model.Taxonomy == taxonomy.Name, taxonomy.Name)
        }
    </select>
    @Html.ValidationMessageFor(m => m.Taxonomy)
</fieldset>  
<fieldset>
    <label> @Html.CheckBoxFor(m => m.Pub) @T("Select if you want to order by Published date, leave if you want to use Created date")</label>  
       
    @Html.ValidationMessageFor(x => x.Pub)
</fieldset>
<fieldset>
    <label>@Html.CheckBoxFor(m => m.Wrap) @T("Select if you want content wrap around (ie. last item leads to first)")</label>   
       
    @Html.ValidationMessageFor(m => m.Wrap)
</fieldset>
